﻿@model ErrorModel

@if (Model.RedirectUrl != null) {
    <script type="text/javascript">
        location.href = '@Model.RedirectUrl';
        alert('@Model.Message');
    </script>
}